/**
 *  地区
 *
 */
import request from "@/utils/request";

// 区域
export function index(params) {
  return request({
    url: "/manage/region/index",
    method: "get",
    params,
  });
}

// 列表
export function lists(params) {
  return request({
    url: "/manage/region/lists",
    method: "get",
    params,
  });
}

// 状态
export function state(data) {
  return request({
    url: "/manage/region/state",
    method: "post",
    data: data,
    headers: {
      "Content-Type": "application/json;charset=UTF-8",
    },
  });
}

// 设置
export function set(data) {
  return request({
    url: "/manage/region/superConvenienceStore",
    method: "post",
    data: data,
    headers: {
      "Content-Type": "application/json;charset=UTF-8",
    },
  });
}
